Exynos5: clock: Update the equation to calculate PLL output frequency
authorAkshay Saraswat <[email protected]>
Fri, 22 Mar 2013 02:26:36 +0000 (02:26 +0000)
committerMinkyu Kang <[email protected]>
Tue, 21 May 2013 11:17:30 +0000 (20:17 +0900)
commit234370cab4b2f096e095fe8f3284fd39740a4023
tree1ce12817aa13a62f65562f5b9191de5956e4a892
parentc7c4fe072eeb95852f4a015df3c1a39b37caae51
Exynos5: clock: Update the equation to calculate PLL output frequency

According to the latest exynos5 user manual, the equation for
calculating PLL output was changed to
FOUT= MDIV x FIN/(PDIV x 2^SDIV)
earlier it was
FOUT= MDIV x FIN/(PDIV x 2^(SDIV -1))
So updating the clock code accordingly.

Signed-off-by: Hatim Ali <[email protected]>
Signed-off-by: Akshay Saraswat <[email protected]>
Acked-by: Simon Glass <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
arch/arm/cpu/armv7/exynos/clock.c